* {
    margin: 0;
    padding: 0;
}
html body {
    font-family: "微软雅黑";
    font-size: 12px;
    text-align: center;
}
@media (max-width: 350px) {
    html body {
        font-size: 10px;
    }
}

//loading
.wrap {
    text-align: center;
    .center {
        position: relative;
        width: 120px;
        margin: 50% auto 0;
        .percent {
            position: absolute;
            left: 10.5%;
            top: 1.5%;
            background-color: #0a1a4a;
            margin: 10px auto;
            border-radius: 200px;
            color: #fff;
            width: 80%;
            font-size: 2em;
            letter-spacing: 2px;
            z-index: 11;
        }
        img {
            position: absolute;
            left: 0;
            width: 100%;
            z-index: 9;
        }
        .right_pie{
            width: 120px;
            height: 120px;
            position: absolute;
            background-color: #0a1a4a;
            -o-transform: rotate(90deg);
            -moz-transform: rotate(90deg);
            -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
            clip: rect(0px, 120px, 60px, 0px);
            border-radius: 60px;
            z-index: 10;
        }
         .left_pie{
            width: 120px;
            height: 120px;
            position: absolute;
            background-color: #0a1a4a;
            -o-transform: rotate(-90deg);
            -moz-transform: rotate(-90deg);
            -webkit-transform: rotate(-90deg);
            transform: rotate(-90deg);
            clip: rect(0px, 120px, 60px, 0px);
            border-radius: 60px;
            z-index: 10;
        }
    }
    .loading {
        width: 16.8%;
        margin: 35px auto;
        img {
            width: 100%;
        }
    }
}
.page1 {
    position: relative;
    z-index: 1;
    .logo {
        width: 44.67%;
        padding: 3vw;
        img {
            width: 100%;
        }
    }
    .middle,
    .middle2 {
        width: 90%;
        margin: 40px auto;
        img {
            width: 100%;
        }
    }
    .middle2 {
        margin-top: -20px;
        color: #9bb2f7;
        font-size: 1.2em;
        p {
            letter-spacing: 1px;
            padding-top: 10px;
        }
    }
    .botton {
        width: 100%;
        position: relative;
        margin-top: -11%;
        .img1 {
            width: 100%;
            margin-top: -67px;
        }
        .p1 {
            position: absolute;
            left: 10px;
            bottom: -8%;
            font-size: 1.3em;
            color: #367ad5;
            z-index: 10;
        }
        .p2 {
            position: absolute;
            right: 10px;
            bottom: -8%;
            font-size: 1.3em;
            color: #367ad5;
            z-index: 10;
        }
        .begin {
            position: absolute;
            bottom: 10vh;
            left: 13vw;
            width: 73.33%;
            img {
                width: 100%;
            }
        }
        .img2 {
            position: absolute;
            bottom: -8vh;
            width: 100%;
            img {
                width: 100%;
            }
        }
    }
}
//活动规则
.background,
.share-background {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); //  display: none;
    z-index: 99;
}
.activity-ruls {
    display: none;
    position: fixed;
    top: 5%;
    left: 4vw;
    width: 84%;
    height: 64%;
    margin: 60px auto;
    background-color: #fff2d1;
    padding: 15px;
    border-radius: 25px;
    box-shadow: 0 -15px 0 #f1deb1 inset;
    padding-bottom: 12%;
    z-index: 100;
    .total {
        height: 100%;
        overflow: scroll;
        margin-top: 40px;
    }
    .activity-img {
        position: relative;
        width: 60%;
        margin: -35px auto;
        text-align: center;
        img {
            width: 100%;
        }
        p {
            position: absolute;
            top: 10px;
            left: 14vw;
            color: #fff;
            font-size: 1.7em;
            letter-spacing: 1px;
        }
    }
    @media (max-width: 350px) {
        .total {
            height: 100%;
            overflow: scroll;
            margin-top: 10px;
        }
        .activity-img {
            p {
                position: absolute;
                top: 7px;
                left: 14.5vw;
                color: #fff;
                font-size: 1.7em;
                letter-spacing: 1px;
            }
        }
    }
    .activity-time {
        p {
            width: 30.33%;
            height: 10px;
            background-color: #fee57d;
            display: inline-block;
            border-radius: 5px;
        }
        span {
            font-size: 1.4em;
        }
        div {
            margin-top: 10px;
            letter-spacing: 150%;
            font-size: 1.3em; //          font-family: '[PingFang]';
        }
    }
    @media (max-width: 350px) {
        .activity-time {
            margin-top: 40px;
            p {
                width: 25.33%;
            }
        }
    }
    .award {
        padding-top: 20px;
        .part1 {
            width: 100%;
            padding-bottom: 10px;
            p {
                width: 30.33%;
                height: 10px;
                background-color: #fee57d;
                display: inline-block;
                border-radius: 5px;
            }
            span {
                font-size: 1.4em;
            }
        }
        p {
            font-size: 1.3em;
            text-align: left;
            text-align: justify;
            line-height: 150%;
        }
        p:last-child {
            color: #da3204;
        }
        .p1 {
            padding: 0 5%;
        }
        .p2 {
            padding: 0 5% 5%;
        }
    }
    @media (max-width: 350px) {
        .award {
            .part1 {
                p {
                    width: 25.33%;
                }
            }
        }
    }
    .rule {
        .part1 {
            width: 100%;
            padding-bottom: 10px;
            p {
                width: 30.33%;
                height: 10px;
                background-color: #fee57d;
                display: inline-block;
                border-radius: 5px;
            }
            span {
                font-size: 1.4em;
            }
        }
        ul {
            list-style: none;
            font-size: 1.3em;
            text-align: left;
            text-align: justify;
            line-height: 150%;
            li {
                overflow: hidden;
                padding: 0 2% 0 0;
                p {
                    float: left;
                    width: 87%;
                }
                span {
                    float: left;
                    width: 10%;
                    display: inline-block;
                    width: 20px;
                    height: 20px;
                    padding-right: 20px;
                    background: url("../img/fangkuai.png") center no-repeat;
                }
            }
        }
    }
    @media (max-width: 350px) {
        .rule {
            .part1 {
                p {
                    width: 25.33%;
                }
            }
        }
    }
    .close-img {
        width: 10%;
        position: absolute;
        left: 40vw;
        bottom: -17px;
        img {
            width: 100%;
        }
    }
    @media (max-width: 400px) {
        .rule {
            ul {
                li {
                    p {
                        width: 80%;
                    }
                }
            }
        }
    }
}
@media (max-width: 400px) {
    .activity-ruls {
        box-shadow: 0 -10px 0 #f1deb1 inset;
        .activity-img {
            p {
                position: absolute;
                top: 7px;
                left: 14vw;
                color: #fff;
                font-size: 1.7em;
                letter-spacing: 1px;
            }
        }
    }
}
//奖励记录
.rule-record {
    display: none;
    position: fixed;
    top: 5%;
    left: 6vw;
    width: 88%;
    margin: 90px auto;
    background-color: #fff2d1;
    border-radius: 25px;
    box-shadow: 0 -15px 0 #f1deb1 inset;
    padding-bottom: 12%;
    z-index: 100;
    height: 64%;
    .total {
        height: 88%;
        overflow: scroll;
    }
    .activity-img {
        position: relative;
        top: -20px;
        width: 60%;
        margin: -6px auto;
        text-align: center;
        img {
            width: 100%;
        }
        p {
            position: absolute;
            top: 11px;
            left: 16vw;
            color: #fff;
            font-size: 1.7em;
            letter-spacing: 1px;
        }
    }
    @media (max-width: 400px) {
        .activity-img {
            p {
                position: absolute;
                top: 8px;
                left: 15vw;
            }
        }
    }
    @media (max-width: 350px) {
        .activity-img {
            p {
                position: absolute;
                top: 8px;
                left: 15vw;
            }
        }
    }
    .chisu {
        padding-top: 5px;
        font-size: 1.4em;
        letter-spacing: 1px;
        span {
            color: #f46665;
        }
    }
    .record {
        .no_award{
            margin-top: 20%;
            font-size: 1.4em;
            p{
                color: #ccc;
                margin-top: 2%
            }
        }
        ul {
            padding-top: 25px;
            list-style: none;
            font-size: 1.2em;
            li {
                padding: 14px;
                overflow: hidden;
                .img1 {
                    width: 21.28%;
                    float: left;
                    img {
                        width: 100%;
                    }
                }
                p {
                    float: left;
                    width: 74%;
                    text-align: left;
                    padding-top: 5px;
                    padding-left: 10px;
                    display: inline-block;
                }
            }
            li:nth-child(2n-1) {
                background-color: #fff9e8;
            }
            li:nth-child(2n) {}
        }
    }
    .close-img {
        width: 10%;
        position: absolute;
        left: 40vw;
        bottom: -17px;
        img {
            width: 100%;
        }
    }
}
@media (max-width: 400px) {
    .no_award{
        font-size: 1.2em;
    }
    .rule-record {
        box-shadow: 0 -10px 0 #f1deb1 inset;
    }
}
@media (max-width: 350px) {
    .activity-ruls,
    .rule-record {
        position: fixed;
        top: 0;
        left: 4vw;
    }
}
//page1
.page2 {
    position: relative;
    height: 100%;
    text-align: center;
    .title-img {
        width: 100%;
        z-index: 10;
        img {
            width: 100%;
        }
    }
    .timu {
        position: absolute;
        top: 15%;
        .firstpart {
            width: 94.667%;
            background-color: #93dced;
            border-radius: 1em;
            margin: 0 auto;
            ul {
                width: 100%;
                overflow: hidden;
                list-style: none;
                margin-bottom: 30%;
                li {
                    border: 2px solid #ffffff;
                    background-color: #4ba0c7;
                    padding: 3% 0 6%;
                    float: left;
                    width: 42.96%;
                    margin-left: 4%;
                    color: #ffffff;
                    font-size: 1.8em;
                    border-radius: 30px;
                    margin-top: 9%;
                    margin-bottom: 4.4%;
                    letter-spacing: 2px;
                    box-shadow: 0 2px 0 #69b0c1;
                    position: relative;
                    p {
                        //                  border: 1px solid #ffffff;
                        width: 60.66%;
                        border-radius: 17px;
                        box-shadow: 0 2px 0 #69b0c1;
                        background-color: #ffffff;
                        padding: 0 2%;
                        margin-top: 5%;
                        position: absolute;
                        left: 17%;
                        img {
                            width: 18.22%;
                        }
                    }
                }
                li:last-child {
                    margin-bottom: 14.4%;
                }
            }
        }
    }
    .menu {
        position: fixed;
        bottom: 0;
        margin-top: 6%;
        width: 100%;
        color: #666666;
        background-color: #f3f3f3;
        padding-top: 10px;
        padding-bottom: 10px;
        font-size: 1.3em;
        letter-spacing: 2px;
        ul {
            list-style: none;
            overflow: hidden;
            height: 80%;
            li {
                box-sizing: border-box;
                float: left;
                width: 33%;
            }
            .li1 {
                img {
                    width: 24px;
                }
                p {
                    position: relative;
                    bottom: -4px;
                }
            }
            .li2 {
                img {
                    width: 35px;
                }
            }
            .li3 {
                img {
                    width: 37px;
                }
                p {
                    position: relative;
                    bottom: -4px;
                }
            }
        }
    }
    @media (max-width: 350px) {
        .menu {
            ul {
                .li1 {
                    img {
                        width: 19px;
                    }
                    p {
                        padding-top: 1%;
                    }
                }
                .li2 {
                    img {
                        width: 29px;
                    }
                }
                .li3 {
                    img {
                        width: 30px;
                    }
                    p {
                        position: relative;
                        bottom: -4px;
                    }
                }
            }
        }
    }
}
//分享朋友
.share {
    display: none;
    position: fixed;
    right: 5%;
    top: 0;
    width: 60%;
    z-index: 100;
    img {
        width: 100%;
    }
}
//答题机会用完
.change-end {
    display: none;
    position: fixed;
    top: 30%;
    left: 10vw;
    width: 80%;
    border: 2px solid #4ba0c7;
    background-color: #fff5ec;
    font-size: 1.4em;
    letter-spacing: 2px;
    border-radius: 1.5em;
    line-height: 150%;
    z-index: 100;
    .title {
        margin-top: 5%;
        font-size: 1.6em;
        padding-bottom: 3%;
    }
    a {
        display: block;
        background-color: #ffdc7e;
        color: #333333;
        text-decoration: none;
        width: 83.33%;
        padding: 3%;
        margin: 4% auto;
        border-radius: 20px;
    }
}
//答题
.dati {
    margin-top: -15%;
    margin-bottom: 30%;
    .firstpart {
        margin: 0 auto;
        width: 94.667%;
        border-radius: 1em;
        background-color: #ffffff;
        position: relative;
        .times {
            width: 13.55%;
            position: absolute;
            top: -5%;
            left: 42%;
            font-size: 1.3em;
            img {
                width: 100%;
            }
            span {
                color: #ffffff;
                position: absolute;
                top: 40%;
                left: 13%;
            }
        }
        .wenti {
            font-size: 1.4em;
            text-align: left;
            letter-spacing: 2px;
            text-align: justify;
            padding: 13% 3% 3%;
        }
        ul {
            font-size: 1.4em;
            padding: 3%;
            list-style: none;
            li {
                background-color: #ededed;
                text-align: left;
                text-indent: 1em;
                padding: 3% 1%;
                margin-bottom: 4%;
                border-radius: 20px;
            }
        }
    }
    .new-menu {
        padding: 0;
        ul {
            background-color: #f66c35;
            li {
                padding: 10px 0;
            }
            .li1 {
                background-color: #f3f3f3;
                width: 23.2%;
                img {}
            }
            .li2 {
                width: 53.5%;
                color: #fff;
                font-size: 1.3em;
                line-height: 100%;
                padding-top: 6%;
                p {
                    display: inline-block;
                }
                img {
                    width: 30px;
                }
            }
            .li3 {
                background-color: #f3f3f3;
                float: right;
                width: 23.2%;
            }
        }
    }
}
.error {
    position: fixed;
    left: 12vw;
    top: 30%;
    background-color: rgba(0,0,0,0.7);
    width: 76.53%;
    letter-spacing: 2px;
    border-radius: 1em;
    .title {
        padding-top: 5%;
        font-size: 1.7em;
        a {
            color: #fd7a6c;
            text-decoration: none;
            display: inline-block;
            overflow: hidden;
            img {
                float: left;
                width: 33px;
                margin-right: 5px;
            }
            p {
                display: inline-block;
                float: right;
                margin-top: 0;
            }
        }
    }
    .true {
        text-align: left;
        font-size: 1.2em;
        padding: 5%;
        color: #fff;
        line-height: 150%;
        .p1 {
            font-size: 1.3em;
        }
        .p2 {
            font-size: 1.2em;
            padding-top: 5px;
        }
    }
}
@media (max-width: 350px) {
    .error {
        .title {
            a {
                img {
                    width: 29px;
                }
            }
        }
    }
}
.chonse-again {
    position: fixed;
    top: 30%;
    left: 10vw;
    width: 80%;
    border: 2px solid #4ba0c7;
    background-color: #fff5ec;
    font-size: 1.4em;
    letter-spacing: 2px;
    border-radius: 1.5em;
    line-height: 150%;
    padding-top: 5%;
    padding-bottom: 5%;
    z-index: 100;
    .btn {
        p {
            display: inline-block;
            background-color: #fda635;
            width: 39%;
            margin-top: 5%;
            border-radius: 30px;
            padding: 2%;
        }
        p:last-child {
            margin-left: 3%;
        }
    }
    .userinfo {
        margin-top: 5%;
        div {
            border: 1px solid #e0d7cf;
            width: 88.833%;
            margin: auto;
            background-color: #ffffff;
            padding: 3% 0;
            text-align: left;
            text-indent: 0.5em;
            input {
                border: none;
                font-size: 1em;
            }
        }
        p {
            text-align: left;
            padding-left: 25%;
            letter-spacing: 0;
            font-size: 0.8em;
        }
        .errName,
        .errNum {
            color: #fff5ec;
        }
    }
}
//闯关成功
.all-title-end {
    position: fixed;
    top: 16%;
    z-index: 100;
    .end {
        margin: -10% auto -10% 13%;
        width: 72%;
        background-color: #ffffff;
        font-size: 1.4em;
        letter-spacing: 2px;
        border-radius: 1.5em;
        line-height: 150%;
        padding-top: 10%;
        padding-bottom: 5%;
        .img {
            width: 60%;
            img {
                width: 100%;
            }
        }
        .btn {
            p {
                display: inline-block;
                background-color: #ffdc7e;
                width: 36%;
                margin-top: 8%;
                border-radius: 30px;
                padding: 3% 4%;
                color: #ffffff;
            }
            p:last-child {
                margin-left: 3%;
            }
            .sure {
                background-color: #9cbdde;
            }
            .affirm {
                width: 50%;
                background-color: #fda635;
            }
        }
    }
    .img {
        width: 82.66%;
        margin: 0 auto;
        img {
            width: 100%;
        }
    }
}
//闯关失败
.all-title-flid {
    position: fixed;
    top: 30%;
    z-index: 100;
    .end {
        margin: -11% auto;
        width: 68%;
        background-color: #ffffff;
        font-size: 1.4em;
        letter-spacing: 2px;
        border-radius: 1.5em;
        line-height: 150%;
        padding: 10% 3% 5%;
        span {
            color: #fd5236;
        }
        .btn {
            p {
                display: inline-block;
                background-color: #ffdc7e;
                width: 36%;
                margin-top: 8%;
                border-radius: 30px;
                padding: 3% 4%;
                color: #ffffff;
            }
            p:last-child {
                margin-left: 3%;
            }
            .sure {
                background-color: #9cbdde;
            }
        }
    }
    .img {
        width: 82.66%;
        margin: 0 auto;
        img {
            width: 100%;
        }
    }
}
//抽奖页面
.page4 {
    .choujiang {
        background: url("../img/bg.jpg") center no-repeat;
        background-size: cover;
        .title {
            padding-top: 5%;
            font-size: 2em;
            color: #fff9c3;
            letter-spacing: 2px;
            text-shadow: 2px 0 0 #f46665,-2px 0 0 #f46665, 0 2px 0 #f46665, 0 -2px 0 #f46665;
            span {
                color: #fff;
                background-color: #f46665;
                padding: 0 4%;
                margin: 0 2%;
            }
        }
        .rotate-bg {
            width: 80%;
            margin: 4% auto;
            background: url("../img/hzuanpan.png") center no-repeat;
            background-size: contain;
            position: relative;
             .zhuandong{
                 padding-bottom: 7.5%;
                 position: absolute;
                    top: 35%;
                    left: 30.5vw;
                    width: 23.667%;
                    z-index: 99;
                    img{
                        width: 100%;
                    }
             }
            .lottery-star {
                position: relative;
                width: 100%;
                font-size: 0;
                .zhizheng {
                    position: relative;
                    top: 34%;
                    left: 30.5vw;
                    width: 23.667%;
                    z-index: 99;
                }
                #lotteryBtn {}
                .useless {
                    z-index: 1;
                    width: 100%;
                    opacity: 0;
                }
            }
        }
    }
    .introduce {
        border: 2px dotted #fff700;
        background-color: #64dbc3;
        border-radius: 1em;
        margin: 0 auto;
        width: 94.9333%;
        font-size: 1.3em;
        letter-spacing: 1px;
        line-height: 170%;
        text-align: left;
        .title {
            text-align: center;
            padding-top: 3%;
            width: 100%;
            color: #e6f846;
            font-size: 1.3em;
            letter-spacing: 0; //          position: relative;
            overflow: hidden;
            .font {
                width: 62%;
                float: left;
                margin-left: 3%;
            }
            .p {
                width: 10.28%;
                display: inline-block;
                margin-left: 4%; //              position: relative;
                //              position: absolute;
                top: 4%;
                float: left;
                img {
                    width: 100%; //                  position: absolute;
                    top: 10%;
                    left: 0;
                }
            }
            .p:last-child {
                //              margin-right: 4%;
            }
        }
        .ul1 {
            padding: 5%;
            list-style: none;
            letter-spacing: 1px;
            li {
                span {
                    display: inline-block;
                    margin-right: 5%;
                    width: 10px;
                    height: 10px;
                    border-radius: 5px;
                    background-color: #35bda2;
                }
            }
        }
        .img {
            padding: 5%;
            position: relative;
            .img1 {
                width: 2%;
                position: absolute;
                left: 5%;
                top: 40%;
            }
            .img2 {
                width: 2%;
                position: absolute;
                right: 5%;
                top: 40%;
            }
        }
    }
    .IHMA {
        margin-bottom: 30%;
        margin-top: 10%;
        text-align: center;
        .p1 {
            padding: 5%;
            text-align: left;
        }
        a {
            display: inline-block;
            text-decoration: none;
            font-size: 1.3em;
            color: #268ed0;
            margin-bottom: 5%;
            img {
                width: 1.1em;
                position: relative;
                top: 4px;
                right: -1px;
            }
        }
    }
    .menu {
        position: fixed;
        bottom: 0;
        margin-top: 28%;
        width: 100%;
        color: #666666;
        background-color: #f3f3f3;
        font-size: 1.3em;
        letter-spacing: 1px;
        ul {
            box-sizing: border-box;
            list-style: none;
            overflow: hidden;
            li {
                box-sizing: border-box;
                float: left;
                width: 33%;
                padding-top: 10px;
            }
            .li1 {
                width: 23.2%;
                img {
                    width: 32px;
                }
            }
            .li2 {
                color: #fff;
                width: 53.5%;
                background-color: #f66c35;
                padding: 4.4% 0 7%;
                font-size: 1.3em;
                p {
                    display: inline-block;
                }
                img {
                    width: 32px;
                    position: relative;
                    top: 6px;
                }
                a {
                    color: #fff;
                    text-decoration: none;
                }
            }
            .li3 {
                width: 23.2%;
                p {
                    padding-top: 7px;
                }
                img {
                    width: 32px;
                }
            }
        }
    }
    @media (max-width: 350px) {
        .menu {
            ul {
                li {
                    img {
                        width: 29px !important;
                    }
                }
            }
        }
    }
}
//隐藏弹出窗口
.display {
    display: none;
}
.btnColor {
    background-color: #ffdc7e !important;
}
.btnColor2 {
    background-color: #9cbdde !important;
}
.btnA {
    display: inline-block;
    background-color: #fda635;
    width: 39%;
    margin-top: 8%;
    border-radius: 30px;
    padding: 2%;
    color: #000;
    text-decoration: none;
}
.EndOfTheTitle {
    background-color: #caecf8 !important;
}